		<div class="panelLeft">
			
			{$categoriesAndBrands}

			<br />

			{capture name=formUrl}{url label=mainCategoryView categoryKey=$parentCategoryObj->getSlug() subCategoryKey=$categoryObj->getSlug()}{/capture}

			{capture name=formExtFields}
				<input id="browseOptions-cat-0" type="hidden" name="category[0]" value="{$parentCategoryObj->getSlug()}" />
				<input id="browseOptions-cat-1" type="hidden" name="category[1]" value="{$categoryObj->getSlug()}" />
			{/capture}


			{include file='partial/Shared/_browseOptions.tpl' formUrl=$smarty.capture.formUrl formExtFields=$smarty.capture.formExtFields}

			<br/>

			{include file='partial/Shared/_ratingBrowseOptions.tpl'}

			<br/>

			{include file='partial/Shared/_playersChoice.tpl'}
{if !$_userLoggedIn || ($_userLoggedIn && $_user->getPremium() neq 1)} 
				<div class="add addSky"><!--/* OpenX Javascript Tag v2.8.7 */-->

<!--/*
  * The backup image section of this tag has been generated for use on a
  * non-SSL page. If this tag is to be placed on an SSL page, change the
  *   'http://ad.tennizoom.com/www/delivery/...'
  * to
  *   'https://ad.tennizoom.com/www/delivery/...'
  *
  * This noscript section of this tag only shows image banners. There
  * is no width or height in these banners, so if you want these tags to
  * allocate space for the ad before it shows, you will need to add this
  * information to the <img> tag.
  *
  * If you do not want to deal with the intricities of the noscript
  * section, delete the tag (from <noscript>... to </noscript>). On
  * average, the noscript tag is called from less than 1% of internet
  * users.
  */-->

<script type='text/javascript'><!--//<![CDATA[
   var m3_u = (location.protocol=='https:'?'https://ad.tennizoom.com/www/delivery/ajs.php':'http://ad.tennizoom.com/www/delivery/ajs.php');
   var m3_r = Math.floor(Math.random()*99999999999);
   if (!document.MAX_used) document.MAX_used = ',';
   document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
   document.write ("?zoneid=2");
   document.write ('&amp;cb=' + m3_r);
   if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
   document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : ''));
   document.write ("&amp;loc=" + escape(window.location));
   if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
   if (document.context) document.write ("&context=" + escape(document.context));
   if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
   document.write ("'><\/scr"+"ipt>");
//]]>--></script><noscript><a href='http://ad.tennizoom.com/www/delivery/ck.php?n=a88c4886&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://ad.tennizoom.com/www/delivery/avw.php?zoneid=2&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a88c4886' border='0' alt='' /></a></noscript>
</div>
{/if}
				
				<div class="panelTabs">
					<div class="tabs">
						<a class="label" title="{'latest galleries'|t}">{'latest galleries'|t}</a>
					</div>
					
					<div class="backgroundFrame280Top"></div>
					<div class="backgroundFrame280">
						{foreach from=$userGallery item=item key=k}
						<div class="galleryItem">
							<a href="{url label=userGallery idGallery=$item->getId()}" title="{$item->getTitle()}"><img src="{$urlStatic}/{image src=$item->getThumbnail() w=100}" alt="{$item->getTitle()}"/></a>
							<p class="date">{$item->getDate()}</p>
							<h2><a href="{url label=userGallery idGallery=$item->getId()}" title="{$item->getTitle()}">{$item->getTitle()}</a></h2>
							<p class="username">{$item->user->getFirstName()} {$item->user->getLastName()} <img src="{$urlStatic}/image/Strona/rank5.png" alt="rank"/></p>
							{if ($k==1)}
							<div class="clearBoth"></div>
							{/if}
							
						</div>
						{/foreach}
						
						
						
						
						
						
						
						
						<div class="clearBoth"></div>
						
					</div>
					<div class="backgroundFrame280Bottom"></div>
				</div>
				
				<br/>
				
				{*<div class="panelTabs">
					<div class="tabs">
						<a class="label" title="{'last logged users'|t}">{'last logged users'|t}</a>
					</div>
					
					<div class="backgroundFrame280Top"></div>
					<div class="backgroundFrame280">
						<div class="lastUserItem">
							<a href="#" title="Username"><img src="{$urlStatic}/image/Strona/temp/avatar1.jpg" alt="Username" class="thumb"/></a>
							<p class="username"><a href="#" title="Username">Username Familyname <img src="{$urlStatic}/image/Strona/rank3.png" alt="rank"/><br/>England</a></p>
						</div>
						
						<div class="lastUserItem">
							<a href="#" title="Username"><img src="{$urlStatic}/image/Strona/temp/avatar1.jpg" alt="Username" class="thumb"/></a>
							<p class="username"><a href="#" title="Username">Username Familyname <img src="{$urlStatic}/image/Strona/rank1.png" alt="rank"/><br/>England</a></p>
						</div>
						
						<div class="lastUserItem">
							<a href="#" title="Username"><img src="{$urlStatic}/image/Strona/temp/avatar1.jpg" alt="Username" class="thumb"/></a>
							<p class="username"><a href="#" title="Username">Username Familyname <img src="{$urlStatic}/image/Strona/rank5.png" alt="rank"/><br/>England</a></p>
						</div>
						
						<div class="lastUserItem">
							<a href="#" title="Username"><img src="{$urlStatic}/image/Strona/temp/avatar1.jpg" alt="Username" class="thumb"/></a>
							<p class="username"><a href="#" title="Username">Username Familyname <img src="{$urlStatic}/image/Strona/rankExpert.png" alt="rank"/><br/>England</a></p>
						</div>
						
						<div class="lastUserItem">
							<a href="#" title="Username"><img src="{$urlStatic}/image/Strona/temp/avatar1.jpg" alt="Username" class="thumb"/></a>
							<p class="username"><a href="#" title="Username">Username Familyname <img src="{$urlStatic}/image/Strona/rank1.png" alt="rank"/><br/>England</a></p>
						</div>
						
					</div>
					<div class="backgroundFrame280Bottom"></div>
				</div>*}

		<!-- panelLeft -->
		</div>

<div class="panelRight">
			<div class="racquetFinderPanel">
				<h1>{'Racquet Finder'|t}</h1>
				<p>{'Racquet finder text'|t}</p>
				<a href="{url label=quizQuickRocketFinder}" title="Start racquet finder" class="startRacquetFinder"></a>
			</div>
			
			
			<div class="sortBar">
				<ul>
					<li class="button"><a class="closed" title="{'Expand'|t}"></a></li>
					<li class="sort">{'sort by'|t}:</li>
					<li>{ftab type='sort' label='popularity' tid='products_list' urlLabel='optCategoryView' o='popularity'}</li>
					<li>{ftab type='sort' label='rate' tid='products_list' urlLabel='optCategoryView' o='rate'}</li>
					<li>{ftab type='sort' label='product name' tid='products_list' urlLabel='optCategoryView' o='name'}</li>
					<li>{ftab type='sort' label='brand' tid='products_list' urlLabel='optCategoryView' o='brand'}</li>

					<li class="switch"><a href="{url label=default}?switch" title="{if $listType eq 'list'}{'switch to box view'|t}{else}{'switch to list view'|t}{/if}" class="{if $listType eq 'list'}boxView{else}listView{/if}">{if $listType eq 'list'}{'switch to box view'|t}{else}{'switch to list view'|t}{/if}</a></li>
				</ul>
			</div>
			<div class="sortBarExt {if empty($selectedProperties)}hidden{/if}">
				<p>filters:</p>
				<ul>
					{if empty($selectedProperties)}
					<li>no filters</li>
					{else}

						{foreach from=$filterProperties item=property}
						{assign var=pDesc value=$property->getPropertyDescription()}
						{assign var=pVal value=$property->getPropertyValue()}
							{foreach from=$pVal item=v}
							{if in_array($v->getId(), $selectedPropertyValues)}
								<li>{$v->getPrepend()} {$v->getValue()} {$v->getAppend()} <a title="clear filter"><img src="{$urlStatic}/image/Strona/iconClose.gif" alt="close"/></a></li>
							{/if}
							{/foreach}
						{/foreach}



					{/if}

					{*
					<li>filter value <a title="clear filter"><img src="{$urlStatic}/image/Strona/iconClose.gif" alt="close"/></a></li>
					<li>filter value <a title="clear filter"><img src="{$urlStatic}/image/Strona/iconClose.gif" alt="close"/></a></li>
					<li>filter value <a title="clear filter"><img src="{$urlStatic}/image/Strona/iconClose.gif" alt="close"/></a></li>
					<li>filter value <a title="clear filter"><img src="{$urlStatic}/image/Strona/iconClose.gif" alt="close"/></a></li>
					<li>filter value <a title="clear filter"><img src="{$urlStatic}/image/Strona/iconClose.gif" alt="close"/></a></li>
					<li>filter value <a title="clear filter"><img src="{$urlStatic}/image/Strona/iconClose.gif" alt="close"/></a></li>
					<li>filter value <a title="clear filter"><img src="{$urlStatic}/image/Strona/iconClose.gif" alt="close"/></a></li>
					<li>filter value <a title="clear filter"><img src="{$urlStatic}/image/Strona/iconClose.gif" alt="close"/></a></li>
					*}
				</ul>
				<div class="clearBoth"></div>
			</div>

			<div class="pages">
				{if $productsList|@count > 0}
				{ftab type='pagination' tid='products_list' all_count=$c urlLabel='optCategoryView'}
				{ftab type='on_page' tid='products_list' urlLabel='optCategoryView'}
				{/if}
			</div>

			<!-- pages -->
			{foreach from=$productsList item=product name=foo}
			{assign var=prodDesc value=$product->getProductDescription()}
			<div class="{if $listType eq 'list'}pRacqetV{else}pRacqetB{if $smarty.foreach.foo.iteration is odd} pRacqetBL{/if}{/if}">
				{assign var=categoryKey value=$parentCategoryObj->getSlug()}
				{assign var=subCategoryKey value=$categoryObj->getSlug()}
				<h2><a href="{url label=productView categoryKey=$categoryKey subCategoryKey=$subCategoryKey productKey=$product->getSlug()}" title="{$prodDesc->getName()}">{$prodDesc->getName()}</a></h2>
				<div class="thumb"><a href="{url label=productView categoryKey=$categoryKey subCategoryKey=$subCategoryKey productKey=$product->getSlug()}" title="{$prodDesc->getName()}">
						{if $listType eq 'list'}
						<img src="{$urlStatic}/{image src=$product->getMainImage() w=105 h=105}" alt="{$prodDesc->getName()}"/>
						{else}
						<img src="{$urlStatic}/{image src=$product->getMainImage() w=205 h=205}" alt="{$prodDesc->getName()}"/>
						{/if}
						</a></div>
				{assign var=manufacturer value=$product->getManufacturer()}
				<div class="logo"><a href="{url label=mainCategoryView categoryKey=$categoryKey subCategoryKey=$manufacturer->getSlug()}" title="{$manufacturer->getName()}"><img src="{$urlStatic}/{image src=$manufacturer->getImage() w=201 h=90 c=true}" alt="{$manufacturer->getName()}"/></a></div>
									<script type="text/javascript">
						var comparelock{$product->getId()} = false;
						var compareLink{$product->getId()} = '{url label=productAddToCompare productKey=$product->getSlug() subCategoryKey=$subCategoryKey categoryKey=$categoryKey}';
		{if $product->getAlreadyInCompare()} comparelock{$product->getId()} = true; {/if}
						{literal}
						
				$(function() {
					

					
					$('#add2compare{/literal}{$product->getId()}{literal}').click(function() {
						
						if (comparelock{/literal}{$product->getId()}{literal} == true) {
						compareLink{/literal}{$product->getId()} = '{url label=emptyMyList}{literal}' ;
					}
						
						$('#ajaxLoader').show();

						$.post(compareLink{/literal}{$product->getId()}{literal},
						{productKey:"{/literal}{$product->getSlug()}{literal}"},
						function(response) {
							eval(response);
							if(comparelock{/literal}{$product->getId()}{literal} != true) {
								$('#baloonAddToCompare').fadeIn('slow');
								$('#ajaxLoader').hide();
								$('#add2compare{/literal}{$product->getId()}{literal}').html('{/literal}{'already added'|t}{literal}');
								$('#add2compare{/literal}{$product->getId()}{literal}').attr('title','{/literal}{'already added'|t}{literal}');
								$('#add2compare{/literal}{$product->getId()}{literal}').attr('class','removeCompare');
								comparelock{/literal}{$product->getId()}{literal} = true;
								compareLink{/literal}{$product->getId()} = '{url label=emptyMyList}{literal}' ;
							} else {
								//$('#baloonAddToCompare').fadeIn('slow');
								$('#ajaxLoader').hide();
								$('#add2compare{/literal}{$product->getId()}{literal}').html('{/literal}{'add to compare'|t}{literal}');
								$('#add2compare{/literal}{$product->getId()}{literal}').attr('title','{/literal}{'add to compare'|t}{literal}');
								$('#add2compare{/literal}{$product->getId()}{literal}').attr('class','add2compare');
								comparelock{/literal}{$product->getId()}{literal} = false;
								
								compareLink{/literal}{$product->getId()} = '{url label=productAddToCompare productKey=$product->getSlug() subCategoryKey=$subCategoryKey categoryKey=$categoryKey}{literal}';
							}
						});
						setTimeout("$('#baloonAddToCompare').fadeOut('slow');", 4000);
						return false;

					});
				});{/literal}
			</script>
				<ul class="links">
					<li><a rel="nofollow" title="{if $product->getAlreadyInCompare()}{'already added'|t}{else}{'add to compare'|t}{/if}" id="add2compare{$product->getId()}" class="{if $product->getAlreadyInCompare()}removeCompare{else}add2compare{/if}">{if !$product->getAlreadyInCompare()}{'add to compare'|t}{else}{'already added'|t}{/if}</a></li>
					<li><a href="{url label=productView categoryKey=$categoryKey subCategoryKey=$subCategoryKey productKey=$product->getSlug()}#compareprices" title="{'compare prices'|t}" class="comparePrices">{'compare prices'|t}</a></li>
					<li><a href="{if $_userLoggedIn}{url label=productPdf  categoryKey=$categoryKey subCategoryKey=$subCategoryKey productKey=$product->getSlug()}{else}{url label=logIn}{/if}" title="{'PDF'|t}" {if $_userLoggedIn}target="_blank"{/if} class="{if $_userLoggedIn}pdf{else}pdfInactive{/if}">{'PDF'|t}</a></li>
				</ul>
				<div class="popRatePanel">
					{if $product->getPopularity()!='0'}<p class="popularity">{'popularity'|t}<span>{$product->getPopularity()}</span></p>{/if}
					{if $product->getRate()!='0.00'}<p class="rate">{'rate'|t}<span>{$product->getRate()}</span></p>{/if}
				</div>
				<p class="group">{'product group'|t}: <a href="{url label=mainCategoryView categoryKey=$categoryKey subCategoryKey=$subCategoryKey}" title="{$categoryObj->getName()}">{$categoryObj->getName()}</a></p>
				{if $product->getRank()!='0'}<div class="rank">rank<span>{$product->getRank()}</span></div>{/if}
				{foreach from=$product->productRanking item=rank}
					{if $rank->productRankingType->getId()==1}
					<a class="scVip"  title="{'VIP'|t}"></a>
					{elseif $rank->productRankingType->getId()==2}
					<a class="scTopR" title="{'Top Rated'|t}"></a>
					{elseif $rank->productRankingType->getId()==3}
					<a class="scTopP" title="{'Top Popular'|t}"></a>
                                        {elseif $rank->productRankingType->getId()==4}
                                        <a class="scNew" title="{'New'|t}"></a>
					{/if}

				{/foreach}

				<div class="extendedRanks">
				{foreach from=$product->productVotes item=vote}
				<div class="label">{$vote->productVotesType->getName()|t}</div>
				<div class="ruler"><img src="{$urlStatic}/image/Strona/backgroundRulerValue.gif" width="{$vote->getValue()}" alt="bar"/></div>
				{/foreach}
				</div>
			</div>
			{foreachelse}
			<b>{'Products list is empty'|t}</b>
			{/foreach}
			
			
		
		
		<br/>
		
			{$wall}
		<!-- panelRight -->
		</div>
